package com.woniuxy.common.mapper;

import com.woniuxy.common.entity.ForumConcern;
import com.woniuxy.common.entity.ForumConcernExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface ForumConcernMapper {
    long countByExample(ForumConcernExample example);

    int deleteByExample(ForumConcernExample example);

    int deleteByPrimaryKey(String id);

    int insert(ForumConcern record);

    int insertSelective(ForumConcern record);

    List<ForumConcern> selectByExample(ForumConcernExample example);

    ForumConcern selectByPrimaryKey(String id);

    int updateByExampleSelective(@Param("record") ForumConcern record, @Param("example") ForumConcernExample example);

    int updateByExample(@Param("record") ForumConcern record, @Param("example") ForumConcernExample example);

    int updateByPrimaryKeySelective(ForumConcern record);

    int updateByPrimaryKey(ForumConcern record);

    List<String> selectByActive(Integer num);
}